import request from '@/utils/request'
// 用户登录
export const loginAPI = data => request.post('/sys/login', data)
// 获取用户信息
export const getUserInfoAPI = () => request.post('/sys/profile')
// 获取用户的头像等基本信息
export const getBaseUserInfoAPI = (id) => request.get(`/sys/user/${id}`)
